<template>
    <div class="help-list">
        <span class="title">帮助中心</span>
        <div class="container">
            <div style="height: 30px;"></div>
            <el-input v-model="name" placeholder="请输入问题标题"></el-input><br>
            <div style="height: 20px;"></div>
            <el-input 
            v-model="content" 
            placeholder="请输入问题内容" 
            type="textarea"
            style="width: 600px;margin-left: 20px;"
            :autosize="{ minRows: 16, maxRows: 18}"></el-input><br>
            <div style="height: 20px;"></div>
            <form method="post" action="/manager/card/addMovie" enctype="multipart/form-data">
                <input  name="pic" type="file" MULTIPLE value="">
                <input type="submit" value="上传图片">
            </form>
            <form method="post" action="/manager/card/addMovie" enctype="multipart/form-data">
                <input  name="movie" type="file" MULTIPLE value="">
                <input type="submit" value="上传视频">
            </form>
           <!--  <el-button style="margin: 30px;">添加图片</el-button>
            <el-button style="margin: 30px;">添加视频</el-button> -->
            <el-button style="margin: 10px 30px;" v-show="$route.query.type == 0">确认新建</el-button>
            <el-button style="margin: 10px 30px;" v-show="$route.query.type == 1">确认修改</el-button>
        </div>
    </div>
</template>

<script>
export default {
    data () {
        return {
            value: '',
            content: ''
        }
    },
    methods: {
    }
}
</script>

<style lang="scss">
.help-list .el-input, .help-list .el-input__inner {
    width: 600px !important;
}
form{
    padding: 0 30px !important;
}
</style>
